Radar Host Communication library  2020.08.13
EndpointRadarBaseBoard

EndpointRadarBaseBoard documentation. More...

Data Structures

struct  consumption_def_host_t
 
struct  consumption_def_cnf_ctx_t
 
struct  consumption_t
 
struct  consumption_cnf_t
 
struct  consumption_cnf_ctx_t
 
struct  board_info_cnf_t
 
struct  board_info_cnf_ctx_t
 
struct  para_store_cnf_t
 
struct  para_store_cnf_ctx_t
 
struct  para_factory_reset_t
 
struct  para_factory_reset_cnf_ctx_t
 

Typedefs

typedef void(* consumption_def_cnf_callback_t) (consumption_def_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, consumption_def_host_t *p_data)
 This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command. More...
 
typedef void(* consumption_cnf_callback_t) (consumption_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, consumption_cnf_t *p_data)
 
typedef void(* board_info_cnf_callback_t) (board_info_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, board_info_cnf_t *p_data)
 
typedef void(* para_store_cnf_callback_t) (para_store_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, para_store_cnf_t *p_data)
 
typedef void(* para_factory_reset_cnf_callback_t) (para_factory_reset_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, para_factory_reset_t *p_data)
 

Functions

int32_t ep_radar_base_board_is_compatible_endpoint (int32_t protocol_handle, uint8_t endpoint)
 This function checks if an endpoint in a device is a Radar Baseboard endpoint. More...
 
int32_t ep_radar_base_board_consumption_def_req (int32_t protocol_handle, uint8_t endpoint)
 This function is used to request the parameter values,. More...
 
void ep_radar_base_board_consumption_def_cb (consumption_def_cnf_callback_t callback, consumption_def_cnf_ctx_t *p_context)
 
int32_t ep_radar_base_board_consumption_req (int32_t protocol_handle, uint8_t endpoint, uint32_t repeat_count)
 
void ep_radar_base_board_consumption_cb (consumption_cnf_callback_t callback, consumption_cnf_ctx_t *p_context)
 
int32_t ep_radar_base_board_para_factory_reset_req (int32_t protocol_handle, uint8_t endpoint)
 
void ep_radar_base_board_para_factory_reset_cb (para_factory_reset_cnf_callback_t callback, para_factory_reset_cnf_ctx_t *p_context)
 
int32_t ep_radar_base_board_para_store_req (int32_t protocol_handle, uint8_t endpoint)
 
void ep_radar_base_board_para_store_cb (para_store_cnf_callback_t callback, para_store_cnf_ctx_t *p_context)
 
int32_t ep_radar_base_board_board_info_req (int32_t protocol_handle, uint8_t endpoint)
 
void ep_radar_base_board_board_info_cb (board_info_cnf_callback_t callback, board_info_cnf_ctx_t *p_context)
 

Detailed Description

EndpointRadarBaseBoard documentation.

Typedef Documentation

◆ board_info_cnf_callback_t

typedef void(* board_info_cnf_callback_t) (board_info_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, board_info_cnf_t *p_data)

Definition at line 159 of file EndpointRadarBaseBoard.h.

◆ consumption_cnf_callback_t

typedef void(* consumption_cnf_callback_t) (consumption_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, consumption_cnf_t *p_data)

Definition at line 156 of file EndpointRadarBaseBoard.h.

◆ consumption_def_cnf_callback_t

typedef void(* consumption_def_cnf_callback_t) (consumption_def_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, consumption_def_host_t *p_data)

This is the callback type executed on a parameter value confirmation event, triggered, by a parameter value request command.

  • Whenever a callback is issued, the following parameters are passed to the callback:
Parameters
[in]contextThe context data pointer, provided along with the callback itself through ep_radar_industrial_set_callback_bgt_lna_status.
[in]protocol_handleThe handle of the connection, the sending device is connected to.
[in]endpointThe number of the endpoint that has sent the message.
[in]p_datapointer to static memory of type consumption_def_host_t, holding the consumption values.

Definition at line 153 of file EndpointRadarBaseBoard.h.

◆ para_factory_reset_cnf_callback_t

typedef void(* para_factory_reset_cnf_callback_t) (para_factory_reset_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, para_factory_reset_t *p_data)

Definition at line 165 of file EndpointRadarBaseBoard.h.

◆ para_store_cnf_callback_t

typedef void(* para_store_cnf_callback_t) (para_store_cnf_ctx_t *p_context, int32_t protocol_handle, uint8_t endpoint, para_store_cnf_t *p_data)

Definition at line 162 of file EndpointRadarBaseBoard.h.

Function Documentation

◆ ep_radar_base_board_board_info_cb()

void ep_radar_base_board_board_info_cb ( board_info_cnf_callback_t  callback,
board_info_cnf_ctx_t *  p_context 
)

Definition at line 438 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_board_info_req()

int32_t ep_radar_base_board_board_info_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

Definition at line 425 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_consumption_cb()

void ep_radar_base_board_consumption_cb ( consumption_cnf_callback_t  callback,
consumption_cnf_ctx_t *  p_context 
)

Definition at line 502 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_consumption_def_cb()

void ep_radar_base_board_consumption_def_cb ( consumption_def_cnf_callback_t  callback,
consumption_def_cnf_ctx_t *  p_context 
)

Definition at line 473 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_consumption_def_req()

int32_t ep_radar_base_board_consumption_def_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

This function is used to request the parameter values,.

results in callback of type fmcw_para_values_cnf_callback_t

Parameters
[in]protocol_handleA handle to the connection to the sensor device.
[in]endpointThe endpoint in the connected device to be checked for compatibility.
Returns
If the specified endpoint is compatible to this implementation the function returns 0. If the endpoint is not compatible, a negative error code is returned.

Definition at line 460 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_consumption_req()

int32_t ep_radar_base_board_consumption_req ( int32_t  protocol_handle,
uint8_t  endpoint,
uint32_t  repeat_count 
)

Definition at line 487 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_is_compatible_endpoint()

int32_t ep_radar_base_board_is_compatible_endpoint ( int32_t  protocol_handle,
uint8_t  endpoint 
)

This function checks if an endpoint in a device is a Radar Baseboard endpoint.

This function checks type and version of the specified endpoint in a connected device and returns a code that indicates if that endpoint is compatible to the radar endpoint implementation in this module.

Parameters
[in]protocol_handleA handle to the connection to the sensor device.
[in]endpointThe endpoint in the connected device to be checked for compatibility.
Returns
If the specified endpoint is compatible to this implementation the function returns 0. If the endpoint is not compatible, a negative error code is returned.

Definition at line 383 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_para_factory_reset_cb()

void ep_radar_base_board_para_factory_reset_cb ( para_factory_reset_cnf_callback_t  callback,
para_factory_reset_cnf_ctx_t *  p_context 
)

Definition at line 445 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_para_factory_reset_req()

int32_t ep_radar_base_board_para_factory_reset_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

Definition at line 397 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_para_store_cb()

void ep_radar_base_board_para_store_cb ( para_store_cnf_callback_t  callback,
para_store_cnf_ctx_t *  p_context 
)

Definition at line 452 of file EndpointRadarBaseBoard.c.

◆ ep_radar_base_board_para_store_req()

int32_t ep_radar_base_board_para_store_req ( int32_t  protocol_handle,
uint8_t  endpoint 
)

Definition at line 411 of file EndpointRadarBaseBoard.c.